package implementation.gui.screens;

import implementation.client.IUserInput;
import implementation.shared.stubs.IPostStub;

import java.util.Collection;

public class ShowThreadScreen extends AbstractShow {
	
	private Collection<IPostStub> _posts;
	
	
	public ShowThreadScreen(IUserInput userOutputInput, Object monitor, Collection<IPostStub> posts){
		super(userOutputInput, monitor);
		this._posts = posts;
	}
	
	@Override
	public void run() {
		
		new ThreadScreen(super.getUserOutputInput(),super.getMonitor(), this._posts).setVisible(true);
		
	}

}
